

<#include "/layout/easyuilayout.ftl"/> 
<@htmlHead>
<script type="text/javascript" src="${webinfo.basePath}/MgrScript/sysmgr/authuserrigth/js/index.js"></script>
</@htmlHead>  
<@htmlBody>  

<div id="App_USER_Toolbar">
    <input id="App_USER_ss" class="easyui-searchbox" style="width: 280px;" data-options="searcher:fun_App_USERSearchbox,prompt:'请输入关键字...',menu:'#App_USER_mm'"></input>
    <div id="App_USER_mm" style="width: 120px"> 
        <div data-options="name:'webName',iconCls:'sealist'">登录名</div>
        <div data-options="name:'userName',iconCls:'sealist'">姓名</div>
        <div data-options="name:'phone',iconCls:'sealist'">电话</div>
    </div> 
    <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-reload" plain="true" onclick="fun_ReloadApp_USERList()">刷新</a>



</div>
<div id="userpanel" data-options="region:'west',title:'',split:true,border:true,iconcls:'icon-sum'" style="width:360px;border-right: solid 2px #cecece" >
    <table id="App_USER_Grid"></table>
</div>


<div id="AuthUserRigth_Toolbar">   

   权限类型 ：
    <select id="datatype_sel" class="easyui-combobox"  data-options=" editable:false,onSelect:ReloadAuthUserRigthList"  style="width:80px;">
        <option value="R">角色</option>
        <option value="F">功能</option>
        <option value="M">菜单</option>
			    <#--<option value="D">数据</option>  -->
	</select>
 
   <input id="AuthUserRigth_ss" class="easyui-searchbox" style="width:280px;"  data-options="searcher:AuthUserRigthSearchbox,prompt:'请输入关键字...',menu:'#AuthUserRigth_mm'"></input>           
    <div id="AuthUserRigth_mm" style="width:120px">   
        <div data-options="name:'memo'">名称</div>
        <div data-options="name:'dataid'">编码</div>
    </div>   
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-reload" plain="true" onclick="ReloadAuthUserRigthList()">刷新</a>

</div> 
<div data-options="region:'center',title:'权限列表',split:true,border:false" >
    <table id="AuthUserRigth_Grid"> </table> 
</div>
<div id="AuthUserRigth_EditForm" class="easyui-dialog" style="width:720px;height:400px;padding:0px"  closed="true"  modal="true"    buttons="#AuthUserRigth_EditForm_buttons" > 
    <form  id="AuthUserRigth_EditForm_fm"  method="post"  >  
          <div class="fitem"  style="display: none" >  
            <label>序号: </label>  
        	<input name="id" class="easyui-numberbox" value="0" data-options="precision:0,required:false"     /> 
        </div>  
          <div class="fitem" style="width:685px" >  
            <label>用户编码: </label>  
        	<input name="userid" class="easyui-numberbox" value="0" data-options="precision:0,required:true"     style="width:485px"/>
      
        </div>  
          <div class="fitem"  style="width:685px">  
            <label>数据编码: </label>   
        	<input name="dataid" class="easyui-validatebox" value="" data-options="required:true"     style="width:485px" /> 
        </div>  
        <div class="fitem"  >  
            <label>M:菜单，F：功能。D：数据，R:角色: </label>   
             <select id="datatype" class="easyui-combobox" name="datatype"  style="width:180px;">  
			    <option value="M">菜单</option>  
			    <option value="F">功能</option>  
			    <option value="D">数据</option>   
			    <option value="R">角色</option>  
			</select> 
         </div>  
          <div class="fitem"  >  
            <label>是否生效: </label>  
    		<input type="radio" name="state" value="1" checked="checked"/><span>是</span> 
			<input type="radio" name="state" value="0"  /><span>否</span>
        </div>   
    </form>
</div>
<div id="AuthUserRigth_EditForm_buttons">
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="SaveAuthUserRigth()">保存</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#AuthUserRigth_EditForm').dialog('close')">取消</a>
</div> 
</@htmlBody>

 

